package com.enjoy.aop.dynamicProxy.jdk;

import java.lang.reflect.Proxy;

public class Client {
    public static void main(String[] args) {
        IC ic = (IC) Proxy.newProxyInstance(Client.class.getClassLoader(), new Class[]{IC.class}, new CHandler(new C()));

        System.out.println(ic.xx2().getClass());

        System.out.println(ic.xx());

        System.out.println(ic.xx1());
    }
}
